package cn.yunhe.model.message;

import cn.yunhe.model.UserInfo;

public class Message {
	private int messageid;
	private String title;
	private String content;
	private MessageType messagetype;
	private String begintime;
	private String endtime;
	private int ifpublish;
	private String recordtime;
	private UserInfo userinfo;//发送者;
	public int getMessageid() {
		return messageid;
	}
	public void setMessageid(int messageid) {
		this.messageid = messageid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public MessageType getMessagetype() {
		return messagetype;
	}
	public void setMessagetype(MessageType messagetype) {
		this.messagetype = messagetype;
	}
	public String getBegintime() {
		return begintime;
	}
	public void setBegintime(String begintime) {
		this.begintime = begintime;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public UserInfo getUserinfo() {
		return userinfo;
	}
	public void setUserinfo(UserInfo userinfo) {
		this.userinfo = userinfo;
	}
	public int getIfpublish() {
		return ifpublish;
	}
	public void setIfpublish(int ifpublish) {
		this.ifpublish = ifpublish;
	}
	public String getRecordtime() {
		return recordtime;
	}
	public void setRecordtime(String recordtime) {
		this.recordtime = recordtime;
	}
	
	
}
